package com.litchishell.feartures.predicate.impl;

import com.litchishell.feartures.pojo.Apple;
import com.litchishell.feartures.predicate.ApplePredicate;

/**
 * @author LitchiShell
 * @description:
 * @create 2021-11-14
 */
public class AppleSimplePredicate implements ApplePredicate {
    @Override
    public String accept(Apple apple) {
        return "An apple of "+apple.getWights() +" g";
    }
}
